<?php
ob_start();
header("Content-type: text/css; charset=UTF-8"); 
if (false)
{
	include 'themes.css';
}
else
{
	$file_row = array
                (
                    'reset.css',
                    'lay-out.css'
                );


	$file_row_all = glob('*.css');
	$file_row = array_unique(array_merge($file_row, $file_row_all));


	$out_str = '';

	if (is_array($file_row))
	{
		foreach ($file_row	as $k=>$v)
		{
			if (file_exists($v))
			{
				$out_str .= file_get_contents($v);
				$out_str .= "\n";
			}
		}
	}

	//$out_str = ob_get_contents();
	//ob_end_clean();
	//file_put_contents('themes.css', $out_str);
	echo $out_str;
}
?>